package com.hist.medical_treatment.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hist.medical_treatment.dao.SchedulingDao;
import com.hist.medical_treatment.entity.Scheduling;
import com.hist.medical_treatment.service.SchedulingService;

@Controller
public class SchedulingController {
	@Autowired
    SchedulingService service;
    
	 @ResponseBody
	 @RequestMapping("/getScheduling")
	public List<Scheduling> getScheduling(Integer deptID,Integer registLeID) {
		// TODO Auto-generated method stub
		return service.getScheduling(deptID,registLeID);
	}
}
